home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus 2002 #3 / Amiga Plus CD - 2002 - No. 03.iso / AmiSoft / Dev / Gui / Cit.lha / CIT / citra / CITClickTab.h < prev    next >
Encoding:
C/C++ Source or Header  |  2003-02-12  |  808 b   |  43 lines

  1. //
  2. //                    CITClickTab include
  3. //
  4. //                          StormC
  5. //
  6. //                     version 2003.02.12
  7. //
  8.  
  9. #ifndef CITCLICKTAB_H
  10. #define CITCLICKTAB_H TRUE
  11.  
  12. #include "CITContainer.h"
  13.  
  14. class CITClickTab:public CITGadget
  15. {
  16.   public:
  17.     CITClickTab();
  18.     ~CITClickTab();
  19.  
  20.     void NewTab(char* label,int pen=-1);
  21.     void NewTab(struct Image* im,struct Image* selIm = NULL);
  22.     void Current(LONG cur);
  23.     LONG Current();
  24.  
  25.   protected:
  26.     //virtual BOOL Create(CITWindow* CITWd,CITContainer* parent);
  27.     //virtual void HandleEvent(UWORD id,ULONG eventType,UWORD code);
  28.     virtual Object* NewObjectA(TagItem* tags);
  29.  
  30.     CITList  labelList;
  31.     
  32.   private:
  33.     TagItem* clickTabTag;
  34.     int      nodeNum;
  35. };
  36.  
  37. enum
  38. {
  39.   CLICKTABCLASS_FLAGBITUSED = GADGETCLASS_FLAGBITUSED
  40. };
  41.  
  42. #endif
  43.